﻿using CGT.Infrastructure.Entity;
using CGT.Infrastructure.Enums;
using OF.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CGT.Infrastructure.Dto
{
    public class GovLogLoginDto: GovLogLogin
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 事件类型名称
        /// </summary>
        public string IncidentTypeName
        {
            get
            {
                return EnumHelper.GetEnumDesc(typeof(LoginIncidentTypeEnum), IncidentType);
            }
        }

        /// <summary>
        /// 校验位
        /// </summary>
        public string CurrentCheckCode
        {
            get; set;
        }
    }
}
